package com.twohand.admin.Vo.pay;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twohand.admin.Config.ArrayTypeHandler;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@TableName(value = "wx_order",autoResultMap = true)
public class PayOrderListVo {
    String no;
    String openId;
    Float totalPrice;
    String successTime;
    List<String> billNoList;
    Integer status;
    BigDecimal refundTotal;
    String shopName;

    public void setBillNoList(String billNoList) {
        this.billNoList = JSONArray.parseArray(billNoList,String.class);
    }
}
